package com.example.goodsserver.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.goodsserver.entity.GoodsInfo;
import com.example.goodsserver.params.PageGoodsParams;
import com.example.goodsserver.vo.GoodsInfoVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface GoodsMapper extends BaseMapper<GoodsInfo> {

    GoodsInfoVO getGoodsById(String id);

    List<GoodsInfoVO> pageGoods(PageGoodsParams pageGoodsParams);
}
